-- GENERATED SPELL FOR [Stonescythe Whelp] --


function spell0_16927(pUnit, Event) --@Desperate Defense,n/a--
pUnit:FullCastSpellOnTarget(33896,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16927', 6252, 1)
end

function Sorts_16927(pUnit, Event)
local choix_sorts_16927 = math.random(0, 0)
if choix_sorts_16927 == 0 then
pUnit:RegisterEvent('spell0_16927', 1, 1)
end
end

function mob16927_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16927', math.random(1500, 3000), 1)
end

function mob16927_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16927_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16927_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16927, 1, 'mob16927_Action')
RegisterUnitEvent(16927, 2, 'mob16927_Leave')
RegisterUnitEvent(16927, 3, 'mob16927_Kill')
RegisterUnitEvent(16927, 4, 'mob16927_Die')
